|
<DIV id=list>
+ A: m' I5 v3 ^' b. S; \<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
+ k0 n' j) {, w% c& ]<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
3 F3 A% L( Y/ m9 V<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>( s4 z. d8 V# U2 a0 \
<DIV id=lrc3 style="COLOR: #666666"></DIV>
- L* x, D1 J! h- C0 ~0 j4 R7 E" R* j<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
% D- }9 @7 s& g. E. Y/ K- {<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
) ]( F8 q3 z" P1 o<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>/ i5 o! N1 Y% `/ M
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>( `0 C9 `" S. g$ j2 W, {9 |
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>$ ?) }9 [0 J9 u L! d, p2 y
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>8 |( l4 h! [2 t
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>& e9 E7 Y" D* R# o% h% d! J6 \
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
8 e) j# B+ o6 s; i<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>. T# G$ Z/ h3 n5 B
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>1 `1 e2 X: f! a9 W: O! Y! A- r
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>3 {2 z2 Q# E/ K. H! S7 ~: {
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
7 |1 {5 {1 Z: ~8 o/ G<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
- i% I% p8 F4 Z9 j<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
4 u t4 C/ m$ J q$ X/ T: ?5 s<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
* b) T0 h4 P) L: ^<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
/ P# o: ~% D9 B) H* Y<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>0 G% F! I5 F( W4 O) k* R' a
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>% l" e4 l; s" a4 K
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
5 p K! {: w- S \2 o( a& X<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
. G; ~' M$ o8 G5 ?# x) C<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>+ g" G# O) T, r0 M
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>; Y3 r7 q; p9 G; g: Z% Q$ q
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
H, f9 m' L- z6 D1 X( p% Q/ z3 P<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>" @- X6 }4 A; ~7 g. R
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>/ M8 w/ f: l& V+ Z- u
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
: Y/ Q5 D6 u( y9 ?* \# l<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>4 ^: Y S4 G7 H
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
# M. Y5 ]6 [, L9 M. B& n4 q<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
& i! u) t$ @. i7 [4 A l<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
8 u% S1 A$ L7 U0 N* l- b; T8 U<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>2 a" ]9 {4 O$ D: Z R K
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>! H9 V: O0 S9 ]" x0 F& L. W
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>6 X Y. n* D2 t1 w, k6 { H
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
! E4 C8 h; X' x+ i4 _2 N- f<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>- C4 h2 A# g+ ~1 F
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
) s G* D; S1 c<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>! H8 Z4 O) _; g& O
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
3 K9 l" k; W* D2 z0 }<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
7 b5 P% x! }- A) Q- F) q6 U<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>+ d/ S5 Z, x& N* N$ D# s
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
$ E: P( _' s3 `/ [5 g<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>' b4 W- Y! C P( E2 ?
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>! I4 H" C, `2 u4 Z. c" R, {
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>& N! t( W$ a( g; e% W' V
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV># {3 C: b( Z8 @; z: e
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
( i1 ~, @& }# P) C" T+ H<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>) _) Z: U' `# B$ H" o1 }4 X p
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
; H% G- s. f0 o& _5 g$ T<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>. K" l* t* @; j9 q* U. Y
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 ' |: m! L! r/ W( K' e
<DIV id=lrc style="DISPLAY: none"></DIV>
c6 S/ R A; X. `; O<SCRIPT type=text/javascript>. }! h6 X7 R+ l4 C3 _
document.domain="1ting.com";( c9 x5 e4 Z; \1 P1 `) D6 P
var colorPasted="#666666";
/ X; r: `* L. E* Xvar colorPlaying="#ff3300";! b; F- @9 u B- n' Q
var colorNormal="#000000";
- _. m7 o: e$ Y; x6 {$ = function (a,g){
0 o }( R$ O+ |. y var o = new Array();
% [6 a, o$ o0 T- E var c = new Array(); " V5 G5 \" K8 }6 J2 a1 C0 ^8 b
var r;
* l/ ]9 X+ o' {, x4 M9 j; Z/ p* X var u; $ ^" j" Q& ~6 R2 W* o1 C
var a = a.split(';'); ) X% V: C; C# i- f* G$ k
, ~0 @. m4 h! c, I var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");7 d$ w2 L: `& t$ H7 A& E, {( Q" D
for(var i=0;i<e.length;i++){2 l! ~* C- T: i$ {5 ~' k, `, w
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
( S- H7 U2 Y8 W) E }1 n2 ]4 H7 G, D5 a' }9 U
0 h" {7 h0 K0 m* _
after = function (t,d,s){
3 S r( B# K. U% _0 D: R' s $after = function (){1 e: \. _5 i$ x
var $n=document.createElement(t);
( F. H& q; u# K- c) g: X3 \ if(d!=null){: o& m+ E- e% [9 Q: }; \9 C/ J
$n.id=d; % G" m' t% i3 J k5 Q$ m
}- r. E+ N1 H2 `
8 z; ?" s5 b& S$ X* [
u.insertBefore($n,null)
8 U# h7 I8 |- [! l: e( u+ I) ~; m- V r = $n;
5 }% [: {3 f3 q/ A* b u = $n; ' S% \+ [' ~! o* J
}
/ P) w% ]5 V/ |2 U: v6 n Q $for(s,"$after")# K! t9 H% N( [& w
}* m8 W# ]9 J7 Q& {1 g
: t( M) y0 b6 Y1 n/ c
show = function (s){
! E6 O% W& ?# e# \- K $show = function (){2 x7 I1 n" z& {; s, R1 ]1 ^
u.style.display!="none" ? style("display:none") : style("display:block") ;/ P# Y( [- i& Y$ f+ x
}6 U1 R0 d& J0 N" w7 A5 h( w+ ?
$for(s,"$show") w2 b7 B, g' o# R! |9 n2 q# I
}
% ?9 l) }7 ~1 X0 {7 Z% Q- n7 ~7 N" ^; [# @! @4 S b5 x
check = function (t,s){3 V9 t6 V# A! Y' L
$check = function (){ N1 r! Z9 {8 D- _
if(t=="2"){. g I2 `, M# `- q, i( \" {
if(u.checked){
" {6 { F/ l5 Q. x% g u.checked = false;
) d* b5 _ e- q; S }else{
" \1 K% E0 ?0 D u.checked = true;' o1 O' Z- w d) N9 {
}' X# i2 k( ~9 `3 E" O& j
}else{( Y3 o: }' p) B9 y% u, Q
u.checked = t*1 ;
- ?) Y- `! j6 u( B1 v0 p }; W/ j/ w+ P; U( E
}
2 \" R5 X/ U* v0 U1 Q* I2 ^' z& `2 V $for(s,"$check")+ p# t$ w% \1 H5 g T% n. {
}
3 k/ F8 P6 O; Q3 C+ m' V
4 T+ T% ~- g* I% x style = function (v,s){8 ~ y* m, j; F4 M1 N6 z" e- _8 q5 O
$style = function (){" Y3 O: k% @$ e Q) j9 v
var $n = v.split(",")
- o7 ^ k- g' {% D5 s for (var i=0;i<$n.length;i++ ){4 R. ~3 M* ~$ C
var $m = $n<i>.split(":")
: e# J. c X6 `9 L eval("u.style."+$m[0]+"='"+$m[1]+"'");5 l( Q, T; ]9 M
}! ^$ J) s7 U/ ]/ e: Z
}4 |5 B2 q4 k9 U- V
$for(s,"$style"); [5 a/ v! t" l/ ?7 |- U
}8 d/ }8 q' q7 n; I
' b5 l4 v/ @, \ r; {! \2 a value = function (v,s){
$ Q0 B3 \7 A6 y9 @5 c- }3 v var $n= $this (v);2 D3 j* ~; a# R6 ~- s$ x: E/ n
$value = function (){+ [ O. Y, ^, Y5 k
u.value = $n5 O; G/ y+ A" S
}
0 T( g( f7 v. k3 n& ^3 |- @: C $for(s,"$value") d5 y1 ^& E* S7 r
}
8 N; Y2 s3 C8 H# y
# i' S E5 @! v. V5 I' } text = function (v,s){: x+ _" n9 F8 {5 `' M4 ^" S }
var $n= $this (v);
3 c/ G! T! ^* f% x7 K3 e1 W$ | $text = function (){4 v6 c# _/ l; I
" X# |- {. `9 z# f' N8 u7 ?; g" x
u.text = $n0 [+ E6 V1 k9 c' Z4 O: c5 t1 v
}, [/ c, F# I9 W1 Z" {1 F! A# R8 n
$for(s,"$text")
! e* T- n. J' s, c! I }( V8 N' g, V4 c% g( M( n' M
3 u! @9 J! V* C2 i& b8 w innerhtml = function (v,s){
S; C3 t$ @& P: c+ D0 A+ Q var $n= $this (v);* a& O5 B# W( A( [. ^
$innerhtml = function (){4 a% }) u4 u% X* P) }2 d* N- |
u.innerHTML = $n
3 m, r) g5 L* S" @; O: I }9 |5 n, R$ b9 T2 J& C, Y& t7 q
$for(s,"$innerhtml")' z- N3 D" z: z' [/ e" H2 Q( e) ~
}
1 L; N7 X+ C8 E
/ ^% f+ S* G! n+ p: ` removechild = function (s){1 r% w, G3 m% {: c, h
$removechild = function (){
. ]% ^' m& Z: Y. _, R u.parentNode.removeChild(u)3 E) t) d( |- o+ d) J& K" I
}
5 C& q0 {: B9 z0 V. n/ {# b $for(s,"$removechild"). ~/ w3 W3 w' l; Z! e$ u$ H' W* s
}
2 d: j0 M& B; y" x9 i1 B2 h7 r
3 Q: ?5 ^* ^9 i" A $this =function(v){
* L! u: U# J7 U9 Q! C6 ] if(v.indexOf("this") == 0){$ [; @# }5 P: T% W2 ]+ r
return eval(v.replace("this","u"))% v* [' E4 }2 w1 V! e* b
}
- |9 c( f2 u8 D$ L6 O$ x. | return v;
% M( c9 ~/ @# h) c1 F7 g- D }
" k; G- |' o, T2 N
9 U: W) ?8 D B4 x1 ^8 T5 Y( @: w $event = function (s){
?: m- ~- K& W. r9 Q var $n ="u."+s+" = function(){$work(this,s);}"- F; B/ H! X6 u. X5 l7 }
return $n;
$ y. l8 ]2 ^8 `3 S }
& n9 l' m+ z3 v1 ^8 I& u
8 p9 d) b& m5 a6 [3 L. R $replace = function (s){4 K' w* ]) y0 }8 Q0 g) O
3 Z9 h3 p J# d# g9 c2 G" k
}
8 E- P1 U" }) @2 X9 M# l0 E" p2 \! q4 a3 u
$for = function (s,c){
& X9 Z& J5 g7 \; T- E2 S var $n="this."+c+"()" ;
]: A8 i: }2 R3 I% f3 n+ w! D if(s!=null){
/ B) R- T# n/ Z var $m =$test(s);- I! Y0 s3 k. z P: A
for (var i=0;i<$m.length ;i++ ){
, Y& M+ ` n& v) t( u/ f u = $m<i>;! I# V" x; Z" L5 p2 _
eval($n);
: Q0 g# c. s) E- u3 n* ^ }
1 O% T1 S' B7 t }2 M2 W8 ?7 y2 Q+ k2 T
else{
6 Z* L" B+ }* O* t# N eval($n);
9 k8 p% M; A% J+ y7 P) {8 g }
n( p* B$ [# `& Q- q }# P1 y2 Q& X" k' C* _8 ]
, w$ F- \( l6 b) `8 } $test = function (a){
+ L# j# X$ e, G" y' ~7 k var o = new Array();$o(a.split(';'),o);
$ D4 j x9 U4 S return o;* r* } z0 }8 |( U* ?% K
}& X0 z: h$ U5 F9 K0 m w
, U% w) T/ A: l; |$ R+ |1 d) I" t* [ $format = function(s){" ]) U* v3 i$ a1 M1 i, b3 k5 }
while (s.indexOf("'")>0){. p) j; l% K9 @/ |
s=s.replace("'","\"");
( A0 |4 [6 {5 d: R& H9 _/ ^% p }4 B6 d' U1 c$ D3 T' |5 U5 S
while (s.indexOf("][")>0){4 k: i/ n4 a) z \8 l# U4 F
s=s.replace("][","','") R; B m2 k3 T( U3 u* l/ J0 k! J5 Y
}
& F1 \& b0 Z& ^) ^$ h/ H( q d+ } while (s.indexOf("[")>0){
' w. ^' ^" v r- ]- V s=s.replace("[","'").replace("]","'")
9 p$ Y4 Y9 O: z/ U3 d& F }
! w* o! l5 E8 c return s;3 t1 g) ^9 b! X9 x
}
! I0 Z, g1 t2 r7 \
0 {- m6 [, m7 F3 ? $work = function(w,s){
2 Q, k) a0 u& \ X3 |8 g4 X" N u=w;eval(s)5 Z+ [* |7 A# O8 P5 D; b
}
# u9 i; L0 w7 X" }! \* l+ z% X+ S! M j; k/ f4 n r$ s
$id = function (s){3 \9 P( N" Q# `8 j) N& N1 p
return document.getElementById(s);2 d! R$ _. O0 C+ y9 Y
}
) G- ^5 g, G* t6 _
* k5 t0 `3 _3 i5 `% {: t3 ?1 L; X S $name = function (s){
& n" n# n* ]/ r/ X: g4 M/ e; S- v return document.getElementsByName(s);
+ s8 r' H" l1 ]5 ~0 }; |% d. y" q1 ` }
: @4 g& {' q; S6 V+ Y3 I E0 ?0 B
) P- h& b0 L5 I& ^9 g1 }4 M $tagname = function (s){
' { l, ~7 u0 c return document.getElementsByTagName(s);
6 A7 K) ~- C$ ?& z: {2 M }
* u- G1 V, ~9 U9 `+ g! b& q4 b- w# N6 p6 l( r. s' k/ t
$o = function (a,o,c){' c0 X* I( T$ F2 L" D$ U* [
$push = function (n) {
Z/ K7 B5 G& v' Y. Y0 } for (var i=0;i< n.length;i++ ){7 A/ H, H F+ w' s6 }
o.push(n<i>);: Y9 {! n' f) M) {4 r
} . `. V) T0 H, k: E& `' ^% G- k9 Y
}
5 ~1 X3 X, X; C for(var i=0;i<a.length;i++){
- L! ]9 ]8 l: s# G if(a<i>.indexOf("(") >= 0){
: |+ B9 m% t- l' A5 ]' n0 k1 H0 H% Y c.push(a<i>);
2 K% U+ N, t$ E2 b/ Q2 \; | }7 H) v4 U- ~/ Y1 Q( [( }6 [
if(a<i>.indexOf("~") > 0){
$ W4 r+ o' n* m* d3 T5 K try {$ V9 M/ [8 n& b9 z* V! {3 q* I( O
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));( \# e$ @ N1 F" I5 A t! v
}catch(e)
6 ^( I5 I6 M+ @2 C. f {}
" {$ P2 H8 X, z, j( L }
* h& X* ]1 M8 P9 `% E Z. S/ o1 M9 f else{
7 Z1 e+ D3 S7 ^: K# w if(a<i>.indexOf("#")==0){
1 u( w6 z; B. X+ C9 Y3 _ o.push($id(a<i>.replace("#","")));
8 s: n8 D4 u% j2 s1 e }$ a% p0 W/ O* o' b J# h- g+ J
if(a<i>.indexOf(".")==0){, J4 Z5 M C: e
$push($name(a<i>.replace(".","")));
; f/ i" W8 d5 q7 a. V }' u4 e/ t* ^! T
if(a<i>.indexOf("@")==0 ){* q5 L c% M5 r6 L) g# W: n
$push($tagname(a<i>.replace("@","")));" b5 Y" [7 [, Q4 K2 [; B4 O
}
, S' D! L( r+ \ if(a<i>.indexOf("*")==0){# N; V0 _2 z- N( \4 q. b
$p= a<i>;# x& y* o# a/ K) N1 a& b
if($p.indexOf(".")< 0){
7 d, x l3 ]. \; t. U; Q+ ~$ y8 m $p = $p.replace("parent","parentNode") t+ F6 O7 V: K) y f- r
}
# x; r2 Q2 E: T0 m& r8 \5 ^ var $p ="u."+$p.replace("*","");* y' l4 d1 ^. G. f3 w, d
while ($p.indexOf("parent.")> 0){
8 t7 G+ S) X8 |; _# x f& O. C' V $p = $p.replace("parent.","parentNode.")1 Q% z- L9 x+ z* z( h
}7 V4 ~& H- g+ @& W5 l
while ($p.indexOf("child{")> 0){
2 B8 j& Y, a8 Z, | $p = $p.replace("child{","childNodes[").replace("}","]")
" j# M5 I4 y8 ] }# |3 F5 m% s/ w% b$ |! r+ G# |
o.push(eval($p));5 S( T% z8 p) l+ R& r- {7 p
}3 K A7 b9 y- t3 M; d
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){, `+ G/ w9 y+ S3 V
o.push(eval(a<i>));
0 c% Z: M# {4 x \0 V: o$ K }
+ W( Q1 y3 b5 H: Q' W }8 O! Y% E8 K+ |% o- P4 R4 t
if(g!=null){ ( Q( g9 { w( m4 _: Q% M- a
o.push(g);g=null
1 c9 s+ P- F1 t& E( R* j N, J }
. Z+ G: S' b7 f }8 [; [% Z' }* g8 O0 Z
}1 e$ t m) x# U- ^( y
2 Z+ v, C# ]3 u$ V' _ $o(a,o,c);+ v/ t+ g- D7 F6 D4 L
( i' D) H# Q% B& p5 x$ U7 C for(var i = 0;i<o.length;i++){
6 ~2 v3 K4 d) a( v, A- q' o for(var j=0;j<c.length;j++){
& ]9 g. F6 _# o: O" _. q) k2 c" o u = o<i>;eval($format(c[j]));
. {8 v2 n4 }9 b6 q7 v5 S; i }' i( ]/ F6 L9 S; k2 I
}& F+ u3 M& ]/ x, J. F- i
" \9 n! z, D' u+ K4 |# ^
if(o.length == 0){2 V1 e2 h$ x( w- x: i. M4 g+ i
for(var i=0;i<c.length;i++){
: P/ s! x$ k$ k: g eval($format(c<i>));% m' N5 k- V( m2 J& t
}
v& S* ~* u& V. y( C }
1 c8 _8 B1 s* s7 y0 q
! D& G4 \, G- p/ w9 f if(r!=null){
& e V! t4 U, w7 s return r;. ~, |* r1 H. r* q, p
}
" r1 y* u# M; @$ ?& M
+ j; _) N8 O, c, b if(o.length==1){
* p% s$ R! n6 Q, ` return o[0];3 a- p. G3 B% [6 ~ ^8 {
}, e1 E( ]. W4 Z" s) W C2 Y+ z
else{
( v) B5 |4 e$ j7 Q return o; e$ ^! ^: l4 v. z
}
& m* Y# j" [, S' A, G ^ 7 r2 N" A/ u% d6 _
}; m2 @. } A. r; Q
var lrc =$("#lrc;show()").innerHTML.split("[");
$ \1 @+ j& |+ [if(lrc.length>5){
- i. A. t# ]2 n; E; Fvar array = new Array();" `; ~) Z/ n5 H4 V4 K1 U. A
for (var i=0;i<lrc.length ;i++ )
$ M' ^" L: ?. ?+ _& ?{
# R5 L& G1 ]& e5 g0 o* w var g = new Object();
3 N( b4 D/ f2 A7 ?! w9 \ t= lrc<i>.split("]");
7 A) L& k2 q; w; R g.time = getTime(t[0]);
! A/ A2 C; a5 d& L9 w# X. [: a if(isNaN(g.time))4 U! w/ i$ x5 r# B1 }; v6 L
continue;' l3 D: w' \& t# ~* g( F7 {# m: N3 y
g.c = t[1];
3 O+ I2 X5 m2 k D& X8 N if(g.c == "")+ Q5 x& k. w/ o/ b4 e
g.c = getNext(i);# _1 f- L$ C+ G7 `- g
array.push(g);
' M5 f* N- Y4 g+ L6 K}
+ g$ r7 C9 k$ I P9 jarray.sort(function(x, y) {
( s' z' P% W. R if (x.time>y.time)
+ y8 ^3 R/ t W0 L% Z5 T$ {2 i) s return 1;
. ?6 Z8 U5 B4 V' ^& _ else if(x.time<y.time)' q5 ^2 [$ I9 f, N1 b5 A
return -1;; d5 t; V. w8 |2 y# B; X# a
else+ b9 V# V, m% O( Q# N( C; M6 ]! T
return 0;
: z+ J0 u1 s6 K( c. T& a }
# q- H' B8 W& b. B5 E; S);) n# \" r% t1 b6 z1 p
for(var i = 0;i<array.length;i++)
7 k R+ Y' c! d5 S5 L{
& K x, [! P; S6 j2 A% C4 Y8 M7 k var g = array<i>;) n, M% P x# n9 \/ j3 H- s9 m
if(!g.c){, N5 ]; ^2 e& @
g.c="";
6 K$ Z" \& {# P/ T* f! I }4 H. |; \% K7 }5 Z/ ]
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
& Y2 R- H3 ^- ?/ |- N}
- `% v c: c' I5 R/ ?0 svar time = setInterval("lrcList()",500);
! q, Q+ ?) v: e8 u; G, f}else{! \7 o! z1 V) R& U; B4 Z
$("#list").innerHTML=$("#lrc").innerHTML;
- x2 @/ t9 n6 E. O2 C5 m}
% [! X9 {- e+ Ufunction getNext(i)! Z. }5 s" I9 G! l
{
8 g) L: _2 @ g. k' I$ O4 W5 i var result = "";
$ l/ D3 p! }# U$ H8 \) q3 i var i = i+1;
6 R, S, v# h- a) K t = lrc<i>.split("]");
: a- U" `. n" @- D4 s if(t[1]=="")6 R3 k/ G1 X2 T4 `! l
result = getNext(i);
4 t! J y6 d1 |8 _9 t2 t' B6 n else4 F! Z% J: V1 G: G Y% W; k
result = t[1]6 t: p7 w) O* _- P
return result;" c* n y, Y1 w) i" M/ R
}
. C8 M& s/ W& ?" ~/ z' A- L; ~) W
2 R+ `. k' I% W* s5 X2 O" \6 efunction getTime(str)
* W! P9 C% F0 D7 k; I. W1 }0 n {4 @{
3 K* [( @8 M, ] var time =0;1 h1 G3 B+ K3 i
var ta = str.split(":");
! j/ x. f5 h4 j0 ? if(ta.length<2)" s' ~; z6 m% Y( T
return time;+ o4 v; b1 ~8 }0 a: b+ a% x
( Y) O/ b; T$ [ Z& T% y+ k if(ta[1].indexOf(".")>0){5 F- K( o1 j2 Q, b6 m9 G1 {) S @. {; `
var tb = ta[1].split(".");
" c8 P9 k0 q" I h" H/ Y& X3 G time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
" r& I0 H9 Z& O6 q m+ B2 k }
0 C/ z, A2 I1 m else5 A: p! T5 S. n. s( d! g+ P/ {+ f
time =ta[0]*60*1000+ta[1]*1000;
0 P& ]4 v/ ~# M( f3 ^* s R8 I return time;
8 z$ e! i s/ `, l}2 l6 A1 b$ h* e0 n
var preTime = 0;" ]2 n4 s/ I0 ^: w$ }3 Z) `; t
var nextTime = 0;
3 b7 ]0 a5 z" evar currIndex =0;: i9 b, h! f9 h6 r
function lrcList(){8 a) f: [) J5 F' _$ S
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
5 h/ b3 S5 J) b$ l1 @ s = s*1000;6 z, z, o# }* L! ?
if(s==0){
- C; v6 k% a9 H1 V/ ~ currIndex =0;
3 y. R- U( W1 `- Z0 J $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. Q9 v% c0 A) K* s3 T* A
for(var i=0;i<array.length;i++){. d, s b1 \6 E2 C- f" L+ }6 ]
document.getElementById("lrc"+i).style.color=colorNormal;
2 [# i& W, i9 w9 R' f. ~: u }
5 n7 U( |) ~+ C( a K return;) Y& ~% q+ V" l8 m9 ?
}
: b- j3 G, k! u9 w0 o6 W9 n if(s>0&&currIndex<array.length-1)
, w+ D% G+ B2 w% I* i, u) w6 ^" f { * U' G4 F; `: ]) ]) Y
preTime = array[currIndex].time;
3 i+ M9 W4 v1 f7 f: @ q- @' ` / D# f+ {+ E& y& L7 _1 j
nextTime = array[currIndex+1].time;
0 P$ `9 O4 L: B% F 6 _2 t3 c$ M# e2 b- {' O
if(s>=preTime&&s<nextTime){
+ O" w" \$ ~6 c9 `1 o( i2 s W% _ }
1 G( C6 ~( [2 k/ T6 q else if(s>=nextTime)
5 u, d$ Z$ I9 g {
" U, D7 G# o' M2 M' S2 x document.getElementById("lrc"+currIndex).style.color=colorPasted;, T4 b4 L! B. W n) H7 _1 K
currIndex++;, C9 t2 ?1 v' B* w% {) J5 T; y& l
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30; E J- P; n* M5 @" o
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
: t$ v# e) L# a6 x4 o$ `7 c7 E lrcList();2 d; F2 P; J* V* v' A
}9 k0 ~ w4 a3 L# g- ?/ m5 b& A
else{
7 \( s; I. y7 c9 m document.getElementById("lrc"+currIndex).style.color=colorNormal;
4 ]: p( d9 M% t1 o9 e; Z) K, R currIndex--;
4 \- {3 K' K+ T( i( M- `" N! J $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 _; Q' `4 |; ~. n document.getElementById("lrc"+currIndex).style.color=colorPlaying;4 E! p7 ^# B$ {' t4 ^! d7 w
lrcList();( ]3 P" C& \8 @2 H8 p
}
, P% [- |; M! }6 \ }0 h' o2 c( H4 s' w
else2 ^$ s7 g+ {/ ]3 ~/ ]
{# i9 A4 P, @9 S: o1 T- A6 w4 t
if(s<array[array.length-1].time){
% R, h1 X, P9 m0 ~ currIndex = 0;
, C6 L0 i# y9 ?: k+ X7 s! o1 ] $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;- y6 R% _" W. d3 s
for(var i=0;i<array.length;i++){5 i/ o9 H: R% v' |9 z
document.getElementById("lrc"+i).style.color=colorNormal;
# m, I: i2 V) k' i2 g+ W$ j }
0 r' d8 H# }, H5 l( @ lrcList();
' Y8 D: g; B! Q) k: { }7 F* ?& w! B4 w0 a
}
' b4 k b q( E; _- Y* D1 u}
9 ]6 Z! w$ T! W; |# `. N$ @3 M</SCRIPT>
& k9 ^) o. A& i9 R) J: y2 s: v</DIV></DIV>
0 q5 w( ^! J% N" @
' c3 R8 a% D' @" N[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|